]> dgit.raspbian.org Git - gnome-shell.git/commit
Revert "signalTracker: Use WeakMap in SignalManager to avoid leaking objects"
authorSebastian Keller <skeller@gnome.org>
Fri, 2 Sep 2022 16:37:13 +0000 (18:37 +0200)
committerMarge Bot <marge-bot@gnome.org>
Sat, 3 Sep 2022 15:11:46 +0000 (15:11 +0000)
commitd57953ad94ef8b58bb37c5d1fc9e6a34f30778ed
treec0b030d8d804c142f1eb75149edcd5577af59922
parent6a23e8ee0f4e859ac3aa0098c102d13946ac3732
Revert "signalTracker: Use WeakMap in SignalManager to avoid leaking objects"

This reverts commit 085102be74f4c98094712a165e5128feaca50438.

We need the SignalManager map top be iterable at shutdown for some of
the following changes. A WeakMap is not iterable. This revert changes it
back to a regular Map, which re-introduces the leaks caused by this.
Those will be fixed differently by the two followup commits.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2466>
js/misc/signalTracker.js